<div class="span3" id="sidebar">
    <?php
        $uristr = $this->uri->uri_string();
        if ($uristr === 'post') { // 发帖页面
            $this->load->view('sidebar/sidebar_faq');
            $this->load->view('sidebar/sidebar_contact');
            $this->load->view('sidebar/sidebar_feedback');
            //$this->load->view('sidebar/sidebar_notice');
            //$this->load->view('sidebar/sidebar_linking');
        } elseif ($uristr === 'post/all') { // 帖子列表
            //$this->load->view('sidebar/sidebar_notice');
            //$this->load->view('sidebar/sidebar_top');
            //$this->load->view('sidebar/sidebar_suggest');
            $this->load->view('sidebar/sidebar_faq');
            $this->load->view('sidebar/sidebar_contact');
            //$this->load->view('sidebar/sidebar_linking');
            $this->load->view('sidebar/sidebar_feedback');
        } elseif (strncmp($uristr, 'post/show', 9) === 0) { // 帖子页面
            //$this->load->view('sidebar/sidebar_notice');
            //$this->load->view('sidebar/sidebar_top');
            //$this->load->view('sidebar/sidebar_suggest');
            //$this->load->view('sidebar/sidebar_faq');
            $this->load->view('sidebar/sidebar_contact');
            //$this->load->view('sidebar/sidebar_linking');
            $this->load->view('sidebar/sidebar_feedback');
        } elseif ($uristr === 'help') { // 帮助页面
            //$this->load->view('sidebar/sidebar_notice');
            //$this->load->view('sidebar/sidebar_faq');
            $this->load->view('sidebar/sidebar_contact');
            //$this->load->view('sidebar/sidebar_linking');
            $this->load->view('sidebar/sidebar_feedback');
        } elseif ($uristr === 'mainpage') { // 首页
            //$this->load->view('sidebar/sidebar_notice');
            $this->load->view('sidebar/sidebar_faq');
            $this->load->view('sidebar/sidebar_contact');
            //$this->load->view('sidebar/sidebar_linking');
            $this->load->view('sidebar/sidebar_feedback');
        } elseif (strncmp($uristr, 'home/', 5) === 0) { // 个人主页
            //$this->load->view('sidebar/sidebar_notice');
            $this->load->view('sidebar/sidebar_faq');
            $this->load->view('sidebar/sidebar_contact');
            //$this->load->view('sidebar/sidebar_linking');
            $this->load->view('sidebar/sidebar_feedback');		
        } else {
            //$this->load->view('sidebar/sidebar_notice');
            $this->load->view('sidebar/sidebar_faq');
            $this->load->view('sidebar/sidebar_contact');
            //$this->load->view('sidebar/sidebar_linking');
            $this->load->view('sidebar/sidebar_feedback');
        }
    ?>
</div>